package enumdemo;

/**
 * 枚举的枚举第一种形式分类
 * @author hucha
 *
 */
interface Food {

	/**
	 * 实现接口是使其子类化的唯一办法
	 */
	enum Appetizer implements Food {
		SALAD,SOUP,SPRING_ROLLS;
	}
	
	enum MainCourse implements Food {
		LASAGNE,BURRITO,PAD_THAI,
		LENTILS,HUMMOUS,VINDALOO;
	}
	
	enum Dessert implements Food {
		TIRAMISU,GELATO,BLACK_FOREST_CAKE,
		FRUIT,CREME_CARAMEL;
	}
	
	enum Coffee implements Food {
		BLACK_COFFEE,DECAF_COFFEE,ESPRESSO,
		LATTE,CAPPUCCINO,TEA,HERB_TEA;
	}
}